package com.bestow.basic.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 格参数集对象 hls_doc_file_para_table
 * 
 * @author liliu
 * @date 2022-10-05
 */
@TableName("hls_doc_file_para_table")
public class HlsDocFileParaTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数表格ID */
    @TableId(value = "para_table_id")
    private Long paraTableId;

    /** 参数ID */
    @Excel(name = "参数ID")
    private Long templetParaId;

    /** 字段名 */
    @Excel(name = "字段名")
    private String columnName;

    /** 字段描述 */
    @Excel(name = "字段描述")
    private String columnDesc;

    /** 字段顺序 */
    @Excel(name = "字段顺序")
    private Long columnNum;

    /** 字段宽度 */
    @Excel(name = "字段宽度")
    private Long columnWidth;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String alignment;

    /** 启用 */
    @Excel(name = "启用")
    private String enabledFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String groupFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String insertFieldFlag;

    public void setParaTableId(Long paraTableId) 
    {
        this.paraTableId = paraTableId;
    }

    public Long getParaTableId() 
    {
        return paraTableId;
    }
    public void setTempletParaId(Long templetParaId) 
    {
        this.templetParaId = templetParaId;
    }

    public Long getTempletParaId() 
    {
        return templetParaId;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnDesc(String columnDesc) 
    {
        this.columnDesc = columnDesc;
    }

    public String getColumnDesc() 
    {
        return columnDesc;
    }
    public void setColumnNum(Long columnNum) 
    {
        this.columnNum = columnNum;
    }

    public Long getColumnNum() 
    {
        return columnNum;
    }
    public void setColumnWidth(Long columnWidth) 
    {
        this.columnWidth = columnWidth;
    }

    public Long getColumnWidth() 
    {
        return columnWidth;
    }
    public void setAlignment(String alignment) 
    {
        this.alignment = alignment;
    }

    public String getAlignment() 
    {
        return alignment;
    }
    public void setEnabledFlag(String enabledFlag) 
    {
        this.enabledFlag = enabledFlag;
    }

    public String getEnabledFlag() 
    {
        return enabledFlag;
    }
    public void setGroupFlag(String groupFlag) 
    {
        this.groupFlag = groupFlag;
    }

    public String getGroupFlag() 
    {
        return groupFlag;
    }
    public void setInsertFieldFlag(String insertFieldFlag) 
    {
        this.insertFieldFlag = insertFieldFlag;
    }

    public String getInsertFieldFlag() 
    {
        return insertFieldFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paraTableId", getParaTableId())
            .append("templetParaId", getTempletParaId())
            .append("columnName", getColumnName())
            .append("columnDesc", getColumnDesc())
            .append("columnNum", getColumnNum())
            .append("columnWidth", getColumnWidth())
            .append("alignment", getAlignment())
            .append("enabledFlag", getEnabledFlag())
            .append("groupFlag", getGroupFlag())
            .append("insertFieldFlag", getInsertFieldFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
